package com.dirven.game.io;

import java.io.OutputStream;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;

public class Save {

	/**
	 * Save the game
	 */
	public void game() {
		//TODO: save game
	}
	
	/**
	 * Save high scores
	 */
	public void highscores() {
		//TODO: save high scores
		
		// Create external file (goes to C:\Users\<Username>\ folder on desktop, and SD card on Android).
		/*file = Gdx.files.external("highscores.dat");
		OutputStream out = null;
		try {
			out = file.write(false);
			
			// Write method only accepts bytes?
			out.write(-2);
			
			
			out.close();
		} catch (Exception ex) {
			
		} finally {
			if(out != null) { try {out.close();} catch (Exception e) {} }
		}*/
	}
}
